<template>
    <div v-for=" (comment,index) in commentList" :key="index">
        <Comment :comment="comment" :index='index' :deleteFunction="deleteFunction"></Comment>
    </div>
</template>

<script lang="ts" name="CommentList" setup>
    import Comment from './Comment.vue'
    import { defineProps } from 'vue'
    defineProps(['commentList','deleteFunction'])
</script>

<style scoped>

</style>